package com.briup.day31;

/**
 * @author ThinkBook
 */
public class Person {
    public String address;
    protected int num;

    public Person() {
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public int getNum() {
        return num;
    }

    public void setNum(int num) {
        this.num = num;
    }

    @Override
    public String toString() {
        return "Person{" +
                "address='" + address + '\'' +
                ", num=" + num +
                '}';
    }
}